#ifndef SNAKE_CELL_H
#define SNAKE_CELL_H

#include "common/point.h"
#include "snake/unit/game_unit.h"

class SnakeCell : public GameUnit {
    public:
    bool is_head;
    Direction direction;

    SnakeCell(Point& pos): GameUnit(pos),is_head(true) {}
    GameUnitType getType() override { return GameUnitType::Snake; }
    void draw(SDL_Renderer* renderer, SDL_FRect* range, ResourceManager& resManager) override;
};

#endif